package com.xwltz.database.mybatisplus.core;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;

/**
 * @description 自定义 Mapper 接口, 实现 自定义扩展
 * @information on version 1.0 be created by xwltz at 2021/12/28 10:55
 */
public interface BaseMapperPlus<T> extends BaseMapper<T> {

	/**
	 * 单sql批量插入( 全量填充 )
	 */
	int insertAll(@Param("list") Collection<T> batchList);
}
